﻿<%@ Page Title="修改密码" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PasswordReset.aspx.cs"
	Inherits="KPI.PasswordReset" %>

<%@ Register Src="Controls/Messages.ascx" TagName="Messages" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<div class="pagetitle">
		<span>修改密码</span>
	</div>
	<uc3:Messages ID="Messages1" runat="server" />
	<fieldset>
		<legend>账户信息</legend>
		<div id="loginform">
			<table cellpadding="5" cellspacing="5">
				<tr>
					<td>
						<label>旧密码:</label>
					</td>
					<td>
						<asp:TextBox ID="txtPwdOld" runat="server" TextMode="Password" Width="160" ViewStateMode="Disabled" ValidationGroup="validationpwdreset"></asp:TextBox>
						<asp:RequiredFieldValidator ID="rfvPwdOld" CssClass="failurenotification" runat="server" ControlToValidate="txtPwdOld" ErrorMessage="旧密码不能为空."
							ValidationGroup="validationpwdreset" ToolTip="旧密码不能为空.">*</asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<label>新密码:</label>
					</td>
					<td>
						<asp:TextBox ID="txtPwd" runat="server" TextMode="Password" Width="160" ViewStateMode="Disabled" ValidationGroup="validationpwdreset"></asp:TextBox>
						<asp:RequiredFieldValidator ID="rfvPwd" CssClass="failurenotification" runat="server" ControlToValidate="txtPwd" ErrorMessage="新密码不能为空."
							ToolTip="新密码不能为空." ValidationGroup="validationpwdreset">*</asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<label>重复新密码:</label>
					</td>
					<td>
						<asp:TextBox ID="txtPwdRe" runat="server" TextMode="Password" Width="160" ViewStateMode="Disabled" ValidationGroup="validationpwdreset"></asp:TextBox>
						<asp:RequiredFieldValidator ID="rfvPwdRe" CssClass="failurenotification" runat="server" ControlToValidate="txtPwdRe" ErrorMessage="重复新密码不能为空."
							ToolTip="重复新密码不能为空." ValidationGroup="validationpwdreset">*</asp:RequiredFieldValidator>
					</td>
				</tr>
			</table>
		</div>
	</fieldset>
	<div class="buttonscontainer">
		<asp:Button ID="btnUpdate" Text="修 改" CssClass="button" runat="server" ValidationGroup="validationpwdreset" OnClick="btnUpdate_Click" />
		<asp:CompareValidator ID="cvPwd" runat="server" CssClass="failurenotification" ControlToValidate="txtPwdRe" ControlToCompare="txtPwd"
			ErrorMessage="重复密码与新密码不一致" ToolTip="重复密码与新密码不一致" ValidationGroup="validationpwdreset"></asp:CompareValidator>
	</div>
</asp:Content>
